All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.apple.alpha.core.NativeObject | +----com.apple.alpha.core.Data
NSData
.
[[NSData
alloc] init]
.
- initWithCoder:
on a newly allocated object.
+ data
Objective-C class method.
+ dataWithContentsOfFile:
Objective-C class method.
- encodeWithCoder:
Objective-C instance method
defined by the Coding
interface
(known as the NSCoding
Objective-C protocol).
- isEqualToData:
Objective-C instance method.
- subdataWithRange:
Objective-C instance method.
- writeToFile:atomically:
Objective-C instance method.
public Data(byte bytes[], int start, int length)
public Data(byte bytes[])
public Data(String ppl)
public Data(File path)
protected Data(boolean shouldAllocate, int objcObject)
public Data()
[[NSData
alloc] init]
.
public Data(Coder aDecoder)
- initWithCoder:
on a newly allocated object.
public native boolean isEqualToData(Data other)
- isEqualToData:
Objective-C instance method.
public native Data subdataWithRange(Range range)
- subdataWithRange:
Objective-C instance method.
public native boolean writeToFile(String path, boolean useAuxiliaryFile)
- writeToFile:atomically:
Objective-C instance method.
public static native Object data()
+ data
Objective-C class method.
public static native Object dataWithContentsOfFile(String path)
+ dataWithContentsOfFile:
Objective-C class method.
public native void encodeWithCoder(Coder aCoder)
- encodeWithCoder:
Objective-C instance method
defined by the Coding
interface
(known as the NSCoding
Objective-C protocol).
public static Data dataWithContentsOfMappedFile(File file)
public native int length()
public native byte[] bytes(int start, int length)
protected native void initWithBytes(byte bytes[], int start, int length)
protected native void initWithString(String ppl)
protected native void initWithPath(String path)
All Packages Class Hierarchy This Package Previous Next Index